#define _CRT_SECURE_NO_WARNINGS 1
#include<iostream>
#include<map>
using namespace std;
int main()
{
    map<int, string> ans;
    ans[0] = "ling";
    ans[1] = "yi";
    ans[2] = "er";
    ans[3] = "san";
    ans[4] = "si";
    ans[5] = "wu";
    ans[6] = "liu";
    ans[7] = "qi";
    ans[8] = "ba";
    ans[9] = "jiu";
    string tmp;
    cin >> tmp;
    for (size_t i = 0;i < tmp.size();i++)
    {
        if (tmp[i] == '-')
        {
            cout << "fu ";
        }
        for (auto& e : ans)
        {
            if (e.first == tmp[i] - '0')
            {
                if (i == tmp.size() - 1)
                {
                    cout << e.second << endl;
                }
                else
                {
                    cout << e.second << ' ';
                }
            }
        }
    }
    return 0;
}